file(GLOB_RECURSE  TUYA_UART_COMMON_DEMO_SRC  ${CMAKE_CURRENT_SOURCE_DIR}/src  "*.c")

set(tuya_uart_common_static_target    "tuya_uart_common_demo")
add_library(${tuya_uart_common_static_target} STATIC ${TUYA_UART_COMMON_DEMO_SRC})
add_library(app::tuya_app  ALIAS  ${tuya_uart_common_static_target})

target_link_libraries(${tuya_uart_common_static_target}
    PUBLIC
    tuya::common
    tuya::os_adapter
)

target_include_directories(${tuya_uart_common_static_target}
    PRIVATE
    ${CMAKE_CURRENT_SOURCE_DIR}/include
    ${CMAKE_SOURCE_DIR}/sdk/include
)
